function setup()
    print("Hello World!")
    table2={} 

    for i=1,10,1 do
        table.insert(table2,vec2(math.random(1,2),math.random(1,2)))
    end
    print(#table2)

    print(unpack(table2))
    end
    
function draw()
    background(40, 40, 50)


    table1 = table2

    for i = 1,#table2 do 
        pointer = table2[i]
        table1[i] = nil
        for j = 1,#table1 do
            if pointer == table1[j] then print(i,j) end
        end
    end
--print(#table2)
end